import { 
  HomeOutlined, 
  MenuOutlined,
  PartitionOutlined,
  SecurityScanOutlined,
  UserOutlined,
  TeamOutlined,
  AreaChartOutlined,
  BarChartOutlined,
  LineChartOutlined,
  PieChartOutlined,
  AccountBookOutlined
} from '@ant-design/icons';
const menuList = [ 
  {
    title: '首页',
    key: '/home',
    icon: <HomeOutlined />,
    isPublic: true
  }, 
  {
    title: '商品',
    key: '/products',
    icon: <MenuOutlined />,
    children: [ 
      {
        title: '品类管理', 
        key: '/category', 
        icon: <PartitionOutlined />
      }, {
        title: '商品管理', 
        key: '/product', 
        icon: <SecurityScanOutlined />
      }, 
    ]
  },
  {
    title: '用户管理', 
    key: '/user', 
    icon: <UserOutlined />
  }, 
  {
    title: '角色管理', 
    key: '/role', 
    icon: <TeamOutlined />
  }, 
  {
    title: '图形图表',
    key: '/charts', 
    icon: <AreaChartOutlined />,
    children: [
      {
        title: '柱形图', 
        key: '/charts/bar', 
        icon: <BarChartOutlined />
      }, 
      {
        title: '折线图', 
        key: '/charts/line', 
        icon: <LineChartOutlined />
      }, 
      {
        title: '饼图',
        key: '/charts/pie',
        icon: <PieChartOutlined />
      }, 
    ]
  },
  {
    title: '订单管理', 
    key: '/order', 
    icon: <AccountBookOutlined />
  }
]
    export default menuList